/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.medication.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 处方信息Entity
 * @author xx
 * @version 2024-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("bs_medication_info")
public class MedicationInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
     * 就诊记录
     */
	private String visitId;
	/**
     * 病人id
     */
	private String patientId;
	/**
     * 医生id
     */
	private String doctorId;
	/**
     * 处方名称
     */
	private String medicationName;
	/**
     * 剂量
     */
	private String dosage;
	/**
     * 吃药频率
     */
	private String frequency;
	/**
     * 吃药周期
     */
	private String duration;

	@TableField(exist = false)
	private String followUpTime;

	@TableField(exist = false)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelProperty("满意度时间")
	private Date manyiduTime;

}
